<?php
namespace app\admin\validate;

use think\Validate;

class Member extends Validate
{
    protected $rule = [
        'username'  =>  'require',
        'password'  =>  'require',
    ];

    protected $message  =   [
        'username.require' => -10010, 
        'password.require' => -10011, 
    ];

}